package com.iespring.bean.admin.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * 图片上传vo
 * @param null
 * @return
 * @author 杨宇健
 * @since 2022/12/29 13:10
 */
@Data
public class SysStorageVo {
    private Integer id;

    private String key;

    private String name;

    private String type;

    private Integer size;

    private String url;

    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date addTime;

    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date updateTime;
}
